﻿@model IEnumerable<b7.Models.BaiViet>

@{
    ViewBag.Title = "Tintuc";
    Layout = "~/Views/Shared/_Shopping.cshtml";
}
<div class="mota">
<div class="tieude">Danh sách tin tức</div>
    @foreach (var item in Model)
    { 
        <div style="width:350px; height:150px; float:left; margin:15px 5px 0 15px; border-bottom:solid 1px #ccc; border-right:solid 1px #ccc">
        <div style="width:50px; height:50px; float:left"><a href="#"><img src="../..@Html.DisplayFor(modelItem => item.AnhMinhHoa)" alt="Anh Quang Cao" width="50px"; height="50px"/></a></div>
        <div style="width:300px; height:150px; float:left">
            <span style="font:14px;">@Html.ActionLink(item.TenBaiViet,"chitiettin")</span><br />
            <span style="font-style:italic; font-size:11px">@Html.DisplayFor(modelItem=>item.NgayCapNhat)</span><br />
            @Html.DisplayFor(modelItem=>item.TomTat)
        </div>
        </div>
    }
</div>
